package com.ruoyi.kzgl.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 电柜断电控制对象 tb_kzgl_dgddkz
 * 
 * @author ruoyi
 * @date 2023-11-11
 */
public class TbKzglDgddkz extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long ID;

    /** 电柜编码 */
    @Excel(name = "电柜编码")
    private String dgbm;

    /** 电柜名称 */
    @Excel(name = "电柜名称")
    private String dgmc;

    /** 企业 */
    @Excel(name = "企业")
    private String qy;

    /** 当前状态 */
    @Excel(name = "当前状态")
    private String dqzt;

    /** 发起断电命令时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发起断电命令时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date fqddmlsj;

    /** 执行状态 */
    @Excel(name = "执行状态")
    private String zxzt;

    /** 执行人 */
    @Excel(name = "执行人")
    private String zxr;

    /** 集中器号 */
    @Excel(name = "集中器号")
    private String jzqh;

    public void setID(Long ID) 
    {
        this.ID = ID;
    }

    public Long getID() 
    {
        return ID;
    }
    public void setDgbm(String dgbm) 
    {
        this.dgbm = dgbm;
    }

    public String getDgbm() 
    {
        return dgbm;
    }
    public void setDgmc(String dgmc) 
    {
        this.dgmc = dgmc;
    }

    public String getDgmc() 
    {
        return dgmc;
    }
    public void setQy(String qy) 
    {
        this.qy = qy;
    }

    public String getQy() 
    {
        return qy;
    }
    public void setDqzt(String dqzt) 
    {
        this.dqzt = dqzt;
    }

    public String getDqzt() 
    {
        return dqzt;
    }
    public void setFqddmlsj(Date fqddmlsj) 
    {
        this.fqddmlsj = fqddmlsj;
    }

    public Date getFqddmlsj() 
    {
        return fqddmlsj;
    }
    public void setZxzt(String zxzt) 
    {
        this.zxzt = zxzt;
    }

    public String getZxzt() 
    {
        return zxzt;
    }
    public void setZxr(String zxr) 
    {
        this.zxr = zxr;
    }

    public String getZxr() 
    {
        return zxr;
    }
    public void setJzqh(String jzqh) 
    {
        this.jzqh = jzqh;
    }

    public String getJzqh() 
    {
        return jzqh;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ID", getID())
            .append("dgbm", getDgbm())
            .append("dgmc", getDgmc())
            .append("qy", getQy())
            .append("dqzt", getDqzt())
            .append("fqddmlsj", getFqddmlsj())
            .append("zxzt", getZxzt())
            .append("zxr", getZxr())
            .append("jzqh", getJzqh())
            .toString();
    }
}
